package com.example.exceptionandjunit.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName UsersController
 * @Description UsersController
 * @Author ZX
 * @Date 2020/5/28
 */
@RestController
public class UsersController {

    @RequestMapping("/showinfo")
    public String showInfo(){
        String str = null;
        str.length();
        return "ok";
    }
}
